/*
 * code.h
 *
 *  Created on: Jan 14, 2014
 *      Author: killerg
 */

#ifndef CODE_H_
#define CODE_H_

#include <string>
#include <unordered_set>

struct code_t {
    bool init();
    void destroy();
    void update();

    std::unordered_set<std::string> all_code;
    std::unordered_set<std::string> used_code;

    bool chged;
    double save_timer;
};

#endif /* CODE_H_ */
